%ifdef _BOOT_DEBUG_
	org 0100h
%else
	org 07c00h
%endif

jmp short LABEL_START
nop

DB 'ForrestY'
DW 512
DB 1
DW 1
DB 2
DW 224
DW 2880
DB 0xF0
DW 9
DW 18
DW 2
DD 0
DD 0
DB 0
DB 0
DB 29h
DD 0
DB 'OrangeS0.02'
DB 'FAT12   '

LABEL_START:
	mov ax, cs
	mov ds, ax
	mov es, ax
	call DispStr
	jmp $
	
DispStr:
	mov ax, BootMessage
	mov bp, ax
	mov cx, MessageLength
	mov ax, 01301h
	mov bx, 000ch
	mov dl, 0
	int 10h
	ret
	
BootMessage: db "Hello, OS world!"
MessageLength equ $ - BootMessage

times 510 - ($ - $$) db 0
dw 0xaa55